
<div id="posts">
  <%= render :partial => "post", :collection => @posts %>
</div>

<% if params[:q].blank? %>
<div class="pagger">
  <%= paginating_links(@posts) %>
</div>
<% end %>